<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>背景</title>
    <style>
        div{
            border: 1px solid red;
            width: 100px;
            height: 100px;

            background: red url(imgs/1.jpg) no-repeat center / 80% 80%;





        }
    </style>
</head>
<body>

<div>

</div>

</body>
</html>